package com.th.supcom.pds.common.client.commom;

import com.google.gwt.core.client.GWT;
import com.th.supcom.pds.auditprescription.client.service.AuditPrescripRpc;
import com.th.supcom.pds.auditprescription.client.service.AuditPrescripRpcAsync;
import com.th.supcom.pds.dispensedrug.client.service.DispenseDrugRpc;
import com.th.supcom.pds.dispensedrug.client.service.DispenseDrugRpcAsync;
import com.th.supcom.pds.dispensedrug.client.service.PdsSupplyDetailRpc;
import com.th.supcom.pds.dispensedrug.client.service.PdsSupplyDetailRpcAsync;
import com.th.supcom.pds.dispensedrug.client.service.PdsSupplyRpc;
import com.th.supcom.pds.dispensedrug.client.service.PdsSupplyRpcAsync;
import com.th.supcom.pds.drugsupply.client.service.PdsPackageMaintainRpc;
import com.th.supcom.pds.drugsupply.client.service.PdsPackageMaintainRpcAsync;
import com.th.supcom.pds.drugsupply.client.service.PdsPropertyMaintainRpc;
import com.th.supcom.pds.drugsupply.client.service.PdsPropertyMaintainRpcAsync;
import com.th.supcom.pds.prescstatusquery.client.service.SupplyStatusQueryRpc;
import com.th.supcom.pds.prescstatusquery.client.service.SupplyStatusQueryRpcAsync;
import com.th.supcom.pds.recipefee.client.service.RecipeFeeRpc;
import com.th.supcom.pds.recipefee.client.service.RecipeFeeRpcAsync;
import com.th.supcom.pds.sortingdrug.client.service.SortingDrugRpc;
import com.th.supcom.pds.sortingdrug.client.service.SortingDrugRpcAsync;

/**
 * PdsPrescDetail 控制器.
 * 
 * 处方明细.
 */
public final class PdsAuditPrescServiceFactory
{
    /** RPC请求路径. */
    public static final String BASE_URL = "../pds/";

    private PdsAuditPrescServiceFactory ()
    {

    }

    private static class PdsPrescDetailRpcAsyncHolder
    {
        private static PdsSupplyDetailRpcAsync s_async = GWT.create (PdsSupplyDetailRpc.class);
    }

    public static PdsSupplyDetailRpcAsync getPdsPrescDetailService ()
    {
        return PdsPrescDetailRpcAsyncHolder.s_async;
    }

    private static class AuditPrescripRpcAsynccHolder
    {
        private static AuditPrescripRpcAsync s_async = GWT.create (AuditPrescripRpc.class);
    }

    public static AuditPrescripRpcAsync getAuditPrescripService ()
    {
        return AuditPrescripRpcAsynccHolder.s_async;
    }

    private static class PdsPrescRpcAsyncHolder
    {
        private static PdsSupplyRpcAsync s_async = GWT.create (PdsSupplyRpc.class);
    }

    public static PdsSupplyRpcAsync getPdsPrescService ()
    {
        return PdsPrescRpcAsyncHolder.s_async;
    }

    private static class DispenseDrugRpcAsyncHolder
    {
        private static DispenseDrugRpcAsync s_async = GWT.create (DispenseDrugRpc.class);
    }

    public static DispenseDrugRpcAsync getDispenseDrugService ()
    {
        return DispenseDrugRpcAsyncHolder.s_async;
    }

    public static SupplyStatusQueryRpcAsync getSupplyStatusQueryService ()
    {
        return SupplyStatusQueryHolder.s_async;
    }

    private static class SupplyStatusQueryHolder
    {
        private static SupplyStatusQueryRpcAsync s_async = GWT.create (SupplyStatusQueryRpc.class);
    }

    private static class PhamSplitInfoRpcAsyncHolder
    {
        private static PdsPackageMaintainRpcAsync s_async = GWT.create (PdsPackageMaintainRpc.class);
    }

    public static PdsPackageMaintainRpcAsync getPhamSplitInfoService ()
    {
        return PhamSplitInfoRpcAsyncHolder.s_async;
    }

    private static class RecipeFeeRpcAsyncHolder
    {
        private static RecipeFeeRpcAsync s_async = GWT.create (RecipeFeeRpc.class);
    }

    public static RecipeFeeRpcAsync getRecipeFeeService ()
    {
        return RecipeFeeRpcAsyncHolder.s_async;
    }

    private static class SortingDrugRpcAsyncHolder
    {
        private static SortingDrugRpcAsync s_async = GWT.create (SortingDrugRpc.class);
    }

    public static SortingDrugRpcAsync getSortingDrugService ()
    {
        return SortingDrugRpcAsyncHolder.s_async;
    }

    public static PdsPropertyMaintainRpcAsync getPdsPropertyMaintainService ()
    {
        return GWT.create (PdsPropertyMaintainRpc.class);
    }

    /** 公司版权信息. */
    public static final String copyright = "Copyright 2014, TH Supcom Corporation";

    /** 提交路径. */
    public static final String SCC_BRANCH = "$URL$";

    /** 提交日期. */
    public static final String SCC_LAST_MODIFICATION_DATE = "$Date$";

    /** 最终修改人员. */
    public static final String SCC_LAST_MODIFIER_NAME = "$Author$";

    /** 最终版本号. */
    public static final String SCC_REVISION = "$Revision$";

}